PATHMac OS 8 and 9 Developer Documentation > Files > Folder Manager >

Folder Manager Reference


Folder Descriptor Class Constants

Constants of type FolderClass are used to specify how folder location information should be interpreted in the function AddFolderDescriptor and the structure FolderDesc . The FolderClass constants are supported under Mac OS 8 and later.

IMPORTANT

Developers can only create new folder descriptors with a class of kRelativeFolder .

enum {
    kRelativeFolder = 'relf',
    kSpecialFolder  = 'spcf'
};
typedef OSType FolderClass;

Constant descriptions

kRelativeFolder
Relative folders are located in terms of the folders in which they are nested, that is, their parent folders. This constant indicates that the folder location specified is the folder type of the parent folder, and the name specified is the name of the folder. Most folder descriptors are for relative folders.
kSpecialFolder
Special folders—such as the System Folder and the disk's root directory—are in set locations that are not determined relative to any other folder. This constant indicates that the folder is located algorithmically, according to the constant supplied for the folder location ( kBlessedFolder or kRootFolder ). Developers cannot create new folder descriptors of the kSpecialFolder class.

© 1998 Apple Computer, Inc. - (Last Updated 19 Nov 98)